import Cookies from 'js-cookie'
//本地存储封装
export function setItem(key, value) {
    Cookies.set(key, value)
}

export function getItem(key) { //get方法 要 return 出去
    return Cookies.get(key) //获取 cookie
}

export function removeItem(key) {
    Cookies.remove(key)  //删除cookie
}